package com.gdou.taolele.product.feign;

import com.gdou.common.to.SkuHasStockVo;
import com.gdou.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

import java.util.List;

/**
 * @author charles
 * @since 2021/4/14 21:28
 */

@FeignClient("taolele-ware")
public interface WareFeignService {

    @PostMapping("/ware/waresku/hasstock")
    R getSkusHasStock(@RequestBody List<Long> skuIds);
}
